package com.liebaut.controller.article;

import com.liebaut.controller.CrudController;
import com.liebaut.dao.article.EanCodeRepository;
import com.liebaut.model.articles.EanCode;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/eanCode")
public class EanCodeController extends CrudController<EanCode, Long> {

    public EanCodeController() {
    }

    @Autowired
    public EanCodeController(EanCodeRepository eanCodeRepository) {
        super(eanCodeRepository);
    }
}
